#include<unistd.h>
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<errno.h>
#include<time.h>

int get_time(char *T_time,int len)
{
	time_t		t;
	struct tm	*p;

	time(&t);
	p=gmtime(&t);

	snprintf(T_time,64,"%04d-%02d-%02d & %02d:%02d:%02d",1900+p->tm_year, 1+p->tm_mon, p->tm_mday,(p->tm_hour+ 8),p->tm_min,p->tm_sec);
	return 0;

}